<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct value</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../../../boost_process/v2.html#header.boost.process.v2.environment_hpp" title="Header &lt;boost/process/v2/environment.hpp&gt;">
<link rel="prev" href="key_view.html" title="Struct key_view">
<link rel="next" href="value_iterator.html" title="Struct value_iterator">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="key_view.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../../boost_process/v2.html#header.boost.process.v2.environment_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_iterator.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.process.v2.environment.value"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct value</span></h2>
<p>boost::process::v2::environment::value</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../../../boost_process/v2.html#header.boost.process.v2.environment_hpp" title="Header &lt;boost/process/v2/environment.hpp&gt;">boost/process/v2/environment.hpp</a>&gt;

</span>
<span class="keyword">struct</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">char_type</span>                                   <a name="boost.process.v2.environment.value.value_type"></a><span class="identifier">value_type</span><span class="special">;</span>      
  <span class="keyword">typedef</span> <span class="identifier">value_char_traits</span><span class="special">&lt;</span> <span class="identifier">char_type</span> <span class="special">&gt;</span>              <a name="boost.process.v2.environment.value.traits_type"></a><span class="identifier">traits_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <a name="boost.process.v2.environment.value.string_type"></a><span class="identifier">string_type</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <a class="link" href="../basic_cstring_ref.html" title="Struct template basic_cstring_ref">basic_cstring_ref</a><span class="special">&lt;</span> <span class="identifier">char_type</span><span class="special">,</span> <span class="identifier">traits_type</span> <span class="special">&gt;</span> <a name="boost.process.v2.environment.value.string_view_type"></a><span class="identifier">string_view_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="value.html#boost.process.v2.environment.valueconstruct-copy-destruct">construct/copy/destruct</a></span>
  <a class="link" href="value.html#idm7723-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7724-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="value.html#idm7728-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7731-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7734-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7737-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">explicit</span> <a class="link" href="value.html#idm7740-bb"><span class="identifier">value</span></a><span class="special">(</span><a class="link" href="value_view.html" title="Struct value_view">value_view</a><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> 
    <a class="link" href="../../../container/devector.html#idm7744-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">,</span> <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">data</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">nullptr</span><span class="special">,</span> 
          <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">size</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="number">0u</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7755-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">conditional</span><span class="special">&lt;</span> <span class="identifier">is_same</span><span class="special">&lt;</span> <span class="identifier">value_type</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="keyword">wchar_t</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">*</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="value.html#idm7758-bb"><span class="identifier">value</span></a><span class="special">(</span><span class="identifier">InputIt</span><span class="special">,</span> <span class="identifier">InputIt</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7766-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>
  <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7772-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7778-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7783-bb"><span class="keyword">operator</span><span class="special">=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <a class="link" href="value.html#idm7765-bb"><span class="special">~</span><span class="identifier">value</span></a><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="value.html#idm7629-bb">public member functions</a></span>
  <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7630-bb"><span class="identifier">assign</span></a><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="value.html#idm7635-bb"><span class="identifier">assign</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a class="link" href="../../../circular_buffer_sp_idm5277.html#idm7642-bb"><span class="identifier">assign</span></a><span class="special">(</span><span class="identifier">InputIt</span><span class="special">,</span> <span class="identifier">InputIt</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="value.html#idm7651-bb"><span class="identifier">push_back</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="value.html#idm7656-bb"><span class="identifier">clear</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">void</span> <a class="link" href="value.html#idm7658-bb"><span class="identifier">swap</span></a><span class="special">(</span><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="value.html#idm7663-bb"><span class="identifier">c_str</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a class="link" href="value.html#idm7665-bb"><span class="identifier">native</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="value.html#boost.process.v2.environment.value.string_view_type">string_view_type</a> <a class="link" href="value.html#idm7667-bb"><span class="identifier">native_view</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <a class="link" href="value.html#idm7670-bb"><span class="keyword">operator</span> <span class="identifier">string_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="value.html#idm7672-bb"><span class="keyword">operator</span> <span class="identifier">string_view_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="value.html#idm7674-bb"><span class="keyword">operator</span> <span class="keyword">typename</span> <span class="identifier">string_view_type</span><span class="special">::</span><span class="identifier">string_view_type</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="value.html#idm7676-bb"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="value.html#idm7681-bb"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="value.html#idm7685-bb"><span class="identifier">compare</span></a><span class="special">(</span><a class="link" href="value.html#boost.process.v2.environment.value.string_view_type">string_view_type</a><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">int</span> <a class="link" href="../../../circular_buffer_sp_idm5277.html#idm7690-bb"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
           <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
    <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
    <a class="link" href="value.html#idm7694-bb"><span class="identifier">basic_string</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a class="link" href="value.html#idm7705-bb"><span class="identifier">string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a class="link" href="value.html#idm7707-bb"><span class="identifier">wstring</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a class="link" href="value.html#idm7709-bb"><span class="identifier">native_string</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">bool</span> <a class="link" href="value.html#idm7711-bb"><span class="identifier">empty</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="value_iterator.html" title="Struct value_iterator">value_iterator</a> <a class="link" href="value.html#idm7713-bb"><span class="identifier">begin</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <a class="link" href="value_iterator.html" title="Struct value_iterator">value_iterator</a> <a class="link" href="value.html#idm7716-bb"><span class="identifier">end</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a class="link" href="value.html#idm7719-bb"><span class="identifier">data</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a class="link" href="value.html#idm7721-bb"><span class="identifier">size</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.29.12.8.5.8.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.29.12.8.5.8.4.2"></a><h3>
<a name="boost.process.v2.environment.valueconstruct-copy-destruct"></a><code class="computeroutput">value</code> 
        public
       construct/copy/destruct</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="idm7723-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7724-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7728-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7731-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7734-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7737-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="identifier">value_type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">explicit</span> <a name="idm7740-bb"></a><span class="identifier">value</span><span class="special">(</span><a class="link" href="value_view.html" title="Struct value_view">value_view</a> kv<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> 
  <a name="idm7744-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">,</span> 
        <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">data</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">nullptr</span><span class="special">,</span> 
        <span class="keyword">decltype</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">declval</span><span class="special">&lt;</span> <span class="identifier">Source</span> <span class="special">&gt;</span><span class="special">(</span><span class="special">)</span><span class="special">.</span><span class="identifier">size</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="special">=</span> <span class="number">0u</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7755-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">typename</span> <span class="identifier">conditional</span><span class="special">&lt;</span> <span class="identifier">is_same</span><span class="special">&lt;</span> <span class="identifier">value_type</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">value</span><span class="special">,</span> <span class="keyword">wchar_t</span><span class="special">,</span> <span class="keyword">char</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <span class="special">*</span> raw<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a name="idm7758-bb"></a><span class="identifier">value</span><span class="special">(</span><span class="identifier">InputIt</span> first<span class="special">,</span> <span class="identifier">InputIt</span> last<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7766-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7772-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;&amp;</span> p<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7778-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7783-bb"></a><span class="keyword">operator</span><span class="special">=</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7765-bb"></a><span class="special">~</span><span class="identifier">value</span><span class="special">(</span><span class="special">)</span> <span class="special">=</span> <span class="keyword">default</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.29.12.8.5.8.4.3"></a><h3>
<a name="idm7629-bb"></a><code class="computeroutput">value</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7630-bb"></a><span class="identifier">assign</span><span class="special">(</span><span class="identifier">string_type</span> <span class="special">&amp;&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> Source<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7635-bb"></a><span class="identifier">assign</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Source</span> <span class="special">&amp;</span> source<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> InputIt<span class="special">&gt;</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> <a name="idm7642-bb"></a><span class="identifier">assign</span><span class="special">(</span><span class="identifier">InputIt</span> first<span class="special">,</span> <span class="identifier">InputIt</span> last<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm7651-bb"></a><span class="identifier">push_back</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> sv<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm7656-bb"></a><span class="identifier">clear</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">void</span> <a name="idm7658-bb"></a><span class="identifier">swap</span><span class="special">(</span><a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> other<span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="idm7663-bb"></a><span class="identifier">c_str</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a name="idm7665-bb"></a><span class="identifier">native</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value.html#boost.process.v2.environment.value.string_view_type">string_view_type</a> <a name="idm7667-bb"></a><span class="identifier">native_view</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7670-bb"></a><span class="keyword">operator</span> <span class="identifier">string_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7672-bb"></a><span class="keyword">operator</span> <span class="identifier">string_view_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a name="idm7674-bb"></a><span class="keyword">operator</span> <span class="keyword">typename</span> <span class="identifier">string_view_type</span><span class="special">::</span><span class="identifier">string_view_type</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="idm7676-bb"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="value.html" title="Struct value">value</a> <span class="special">&amp;</span> p<span class="special">)</span> <span class="keyword">const</span> <span class="keyword">noexcept</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="idm7681-bb"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="idm7685-bb"></a><span class="identifier">compare</span><span class="special">(</span><a class="link" href="value.html#boost.process.v2.environment.value.string_view_type">string_view_type</a> str<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">int</span> <a name="idm7690-bb"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> s<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> CharT<span class="special">,</span> <span class="keyword">typename</span> Traits <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">char_traits</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span><span class="special">,</span> 
         <span class="keyword">typename</span> Alloc <span class="special">=</span> <span class="identifier">std</span><span class="special">::</span><span class="identifier">allocator</span><span class="special">&lt;</span><span class="identifier">CharT</span><span class="special">&gt;</span> <span class="special">&gt;</span> 
  <span class="identifier">std</span><span class="special">::</span><span class="identifier">basic_string</span><span class="special">&lt;</span> <span class="identifier">CharT</span><span class="special">,</span> <span class="identifier">Traits</span><span class="special">,</span> <span class="identifier">Alloc</span> <span class="special">&gt;</span> 
  <a name="idm7694-bb"></a><span class="identifier">basic_string</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">Alloc</span> <span class="special">&amp;</span> alloc <span class="special">=</span> <span class="identifier">Alloc</span><span class="special">(</span><span class="special">)</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">string</span> <a name="idm7705-bb"></a><span class="identifier">string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">wstring</span> <a name="idm7707-bb"></a><span class="identifier">wstring</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">string_type</span> <span class="special">&amp;</span> <a name="idm7709-bb"></a><span class="identifier">native_string</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">bool</span> <a name="idm7711-bb"></a><span class="identifier">empty</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value_iterator.html" title="Struct value_iterator">value_iterator</a> <a name="idm7713-bb"></a><span class="identifier">begin</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><a class="link" href="value_iterator.html" title="Struct value_iterator">value_iterator</a> <a name="idm7716-bb"></a><span class="identifier">end</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">const</span> <span class="identifier">value_type</span> <span class="special">*</span> <a name="idm7719-bb"></a><span class="identifier">data</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span> <a name="idm7721-bb"></a><span class="identifier">size</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2006-2012 Julio M. Merino Vidal, Ilya Sokolov,
      Felipe Tanus, Jeff Flinn, Boris Schaeling<br>Copyright © 2016 Klemens D. Morgenstern<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="key_view.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../../boost_process/v2.html#header.boost.process.v2.environment_hpp"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="value_iterator.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
